import request from '../index';

/**
 * 
 * @param type webSetting:网站设置;copywritingManagement 团体预约须知 中文;copywritingManagementEN 英文;
 * @returns 
 */
export const reservationConfigDetail = (type: string) =>
    request({
        url: '/reservationConfig/detail',
        method: 'get',
        params: {
            type: type
        }
    });

export const reservationConfigEdit = (data: any) =>
    request({
        url: '/reservationConfig/edit',
        method: 'post',
        data: data
    });